<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>login jsp</title>
</head>
<body>
    <c:url value="/validateLogin" var="loginUrl"></c:url>
    <form method="POST" action="${loginUrl}">
        <input name="username" type="text">
        <input name="password" type="password">
        <input name="${_csrf.parameterName}" value="${_csrf.token}" type="text">
        <input type="submit" value="submit">
    </form>
</body>
</html>
